package sfy.md.structure.theflyweight;

public class People extends TheFlyweight{


    public People(FlyWeightManager flyWeightManager) {
        super(flyWeightManager);
    }

    @Override
    void setOne() {
        flyWeightManager.addOne();
    }

    @Override
    Object getOne() {
        return flyWeightManager.getStore().getOne();
    }
}
